package com.yc.service;

import com.yc.bean.Account;

/**
 * @author zwei
 * @create 2024-08-08 14:16
 */
public interface BankBiz {
    //银行开户
    public Account openAccount(double money);
    //存款
    public Account deposite(int accountid,double money);
    //取款
    public Account withdraw(int accountid,double money);
    //转账
    public Account transfer(int accountid,double money,int toAccountid);
    //查询是否操作账户
    public Account findAccount(int accountid);
}
